#ifndef __PRODUCT_H__
#define __PRODUCT_H__
#include <ace/Reactor.h>

#include "ClientHandler.h"
#include "GameHandler.h"

class Producet
{
public:
	static Producet *instance();
	static int timer();
public:
	GameHandler * game_channel();
	int run();
public:
	~Producet();
private:
	Producet();
private:
	ACE_Reactor		*_reactor;
	ClientAcceptor	*_client_acceptor;

	GameConnector	*_game_connector;
	GameHandler		*_game_channel;
};



#endif